<template>
	<my-box class="h100" title="水文监测">
		<template #right>
			<span style="color: #4d88fe" class="pointer"> 查看详情 </span>
		</template>
		<my-table
			:data="data"
			:columns="[
				{ type: 'selection' },
				{ prop: 'testPointType', label: '测点类型' },
				{ prop: 'alarmCount', label: '告警数' },
				{ prop: 'testPointCount', label: '测点数' }
			]"
		>
		</my-table>
	</my-box>
</template>

<script setup>
import { hydrologyCount } from '@a/integrated'

let data = ref([])
hydrologyCount().then((res) => {
	data.value = res.data
})
</script>
